<template>
  <view class="page">
    <t-index-address @select="select"></t-index-address>
  </view>
</template>

<script>
import { mapMutations } from "vuex";
export default {
  data() {
    return {};
  },
  onLoad() {},
  methods: {
    ...mapMutations("address", ["GET_ORDER_ADDRESS"]),
    // 点击城市选项
    select(data) {
      console.log(data);
      this.GET_ORDER_ADDRESS(data);
    },
  },
};
</script>

<style lang="scss" scoped>
.page {
  padding: 15px;
}
</style>
